//
//  RLTabBar.h
//  RelaxLinkProduct
//
//  Created by relax on 2017/11/20.
//  Copyright © 2017年 relax. All rights reserved.
//

#import <UIKit/UIKit.h>

@class RLTabBar;

typedef NS_ENUM(NSUInteger,TabBarButtonItem) {
    TabBarButtonItemLive = 100,
    TabBarButtonItemMe,
    TabBarButtonItemCamera,
};

typedef void(^didSelectedButtonBlock)(RLTabBar *,TabBarButtonItem);

@protocol RLTabBarDelegate <NSObject>
@optional
- (void)tabBar:(RLTabBar *)tabBar didSelectedButton:(TabBarButtonItem)item;

@end


@interface RLTabBar : UIView

@property (nonatomic,weak) id<RLTabBarDelegate> delegate;

@property (nonatomic,copy) didSelectedButtonBlock block;

@end





